//
//  NeedsModel.m
//
//  Created by Keith Lazuka on 7/25/09.
//

#import "MyNeedsModel.h"
#import "MyNeedsResultsModel.h"

MyNeedsResponseFormat CurrentMyNeedsResponseFormat = MyNeedsResponseFormatDefault;

id<MyNeedsModel> CreateMyNeedsModel(NSString* kind, NSString* method, int limit,  MyNeedsResponseFormat responseFormat)
{
    id<MyNeedsModel> model = nil;
	model = [[[MyNeedsResultsModel alloc] initWithResponseFormat:responseFormat kind:kind method:method limit:limit] autorelease];
    return model;
}

id<MyNeedsModel> CreateMyNeedsModelWithCurrentSettings(NSString* kind, NSString* method, int limit)
{
    return CreateMyNeedsModel(kind, method, limit, CurrentMyNeedsResponseFormat);
}